]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Fix icon_size parameter
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 Aug 2012 02:50:46 +0000 (23:50 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 Aug 2012 03:34:12 +0000 (00:34 -0300)
We forgot to update this to NOTIFICATION_ICON_SIZE

https://bugzilla.gnome.org/show_bug.cgi?id=682412

js/ui/status/network.js

index cb1991c8deeb2aecea2b9133730b6b9ba6369724..c7b9665e0633f0aba069c58de48fa37654dbb0d9 100644 (file)
@@ -1780,8 +1780,7 @@ const NMApplet = new Lang.Class({
 
         let icon = new St.Icon({ icon_name: iconName,
                                  icon_type: St.IconType.SYMBOLIC,
-                                 icon_size: this._source.ICON_SIZE
-                               });
+                                 icon_size: MessageTray.NOTIFICATION_ICON_SIZE });
         device._notification = new MessageTray.Notification(this._source, title, text,
                                                             { icon: icon });
         device._notification.setUrgency(urgency);